/*
 * debug.c
 *
 * the debug interface for HAL debug.
 *
 * Copyright (C) 2024 Sinh Micro, Inc.
 * Subject to the GNU Public License, version 2.
 *
 * Author: lixiang<lixiang@sinhmicro.com>
 * 
 * Encoding format: GB2312
 * Version: v1.2.2
 * Date: 2024-11-05
 */
#ifndef _DEBUG_H_
#define _DEBUG_H_

#include "hal-config.h"
#include "types.h"

void debug_putc(char ch);

#if (CONFIG_USING_DEBUG > 0)
    void debug_print(const char *format, int16_t number);
#else
    #define debug_print(format, number)
#endif

#endif

